package com.inspur.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.inspur.common.annotation.Excel;
import com.inspur.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 任务对象 pm_task
 * 
 * @author ruoyi
 * @date 2024-04-08
 */
public class PmTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 任务编号 */
    private String cTaskNo;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String cTaskNme;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String cProNo;

    /** 需求或缺陷编号 */
    @Excel(name = "需求或缺陷编号")
    private String cDemFlawNo;

    /** 任务描述 */
    @Excel(name = "任务描述")
    private String cTaskDes;

    /** 优先级 */
    @Excel(name = "优先级")
    private String cTaskPri;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private String cTaskState;

    /** 创建人 */
    @Excel(name = "创建人")
    private String cCrePer;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date tCreTm;

    /** 修改人 */
    @Excel(name = "修改人")
    private String cUpdPer;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date tUpdTm;

    /** 任务来源 */
    @Excel(name = "任务来源")
    private String cTaskSou;

    /** 任务类型 */
    @Excel(name = "任务类型")
    private String cTaskType;

    /** 负责人 */
    @Excel(name = "负责人")
    private String cTaskHead;

    /** 关联成员 */
    @Excel(name = "关联成员")
    private String cTaskPer;

    /** 预估工时 */
    @Excel(name = "预估工时")
    private Double cEstWork;

    /** 已登记工时 */
    @Excel(name = "已登记工时")
    private Double cRegWork;

    /** 剩余工时 */
    @Excel(name = "剩余工时")
    private Double cRemWork;

    /** 关联工作项 */
    @Excel(name = "关联工作项")
    private String cWork;

    /** 计划开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date tStaTm;

    /** 计划完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date tEndTm;

    private String cTxt;

    public void setcTaskNo(String cTaskNo) 
    {
        this.cTaskNo = cTaskNo;
    }

    public String getcTaskNo() 
    {
        return cTaskNo;
    }
    public void setcTaskNme(String cTaskNme) 
    {
        this.cTaskNme = cTaskNme;
    }

    public String getcTaskNme() 
    {
        return cTaskNme;
    }
    public void setcProNo(String cProNo) 
    {
        this.cProNo = cProNo;
    }

    public String getcProNo() 
    {
        return cProNo;
    }
    public void setcDemFlawNo(String cDemFlawNo) 
    {
        this.cDemFlawNo = cDemFlawNo;
    }

    public String getcDemFlawNo() 
    {
        return cDemFlawNo;
    }
    public void setcTaskDes(String cTaskDes) 
    {
        this.cTaskDes = cTaskDes;
    }

    public String getcTaskDes() 
    {
        return cTaskDes;
    }
    public void setcTaskPri(String cTaskPri) 
    {
        this.cTaskPri = cTaskPri;
    }

    public String getcTaskPri() 
    {
        return cTaskPri;
    }
    public void setcTaskState(String cTaskState) 
    {
        this.cTaskState = cTaskState;
    }

    public String getcTaskState() 
    {
        return cTaskState;
    }
    public void setcCrePer(String cCrePer) 
    {
        this.cCrePer = cCrePer;
    }

    public String getcCrePer() 
    {
        return cCrePer;
    }
    public void settCreTm(Date tCreTm) 
    {
        this.tCreTm = tCreTm;
    }

    public Date gettCreTm() 
    {
        return tCreTm;
    }
    public void setcUpdPer(String cUpdPer) 
    {
        this.cUpdPer = cUpdPer;
    }

    public String getcUpdPer() 
    {
        return cUpdPer;
    }
    public void settUpdTm(Date tUpdTm) 
    {
        this.tUpdTm = tUpdTm;
    }

    public Date gettUpdTm() 
    {
        return tUpdTm;
    }
    public void setcTaskSou(String cTaskSou) 
    {
        this.cTaskSou = cTaskSou;
    }

    public String getcTaskSou() 
    {
        return cTaskSou;
    }
    public void setcTaskType(String cTaskType) 
    {
        this.cTaskType = cTaskType;
    }

    public String getcTaskType() 
    {
        return cTaskType;
    }
    public void setcTaskHead(String cTaskHead) 
    {
        this.cTaskHead = cTaskHead;
    }

    public String getcTaskHead() 
    {
        return cTaskHead;
    }
    public void setcTaskPer(String cTaskPer) 
    {
        this.cTaskPer = cTaskPer;
    }

    public String getcTaskPer() 
    {
        return cTaskPer;
    }
    public void setcEstWork(Double cEstWork)
    {
        this.cEstWork = cEstWork;
    }

    public Double getcEstWork()
    {
        return cEstWork;
    }
    public void setcRegWork(Double cRegWork)
    {
        this.cRegWork = cRegWork;
    }

    public Double getcRegWork()
    {
        return cRegWork;
    }

    public Double getcRemWork() {
        return cRemWork;
    }

    public void setcRemWork(Double cRemWork) {
        this.cRemWork = cRemWork;
    }

    public void setcWork(String cWork)
    {
        this.cWork = cWork;
    }

    public String getcWork() 
    {
        return cWork;
    }
    public void settStaTm(Date tStaTm) 
    {
        this.tStaTm = tStaTm;
    }

    public Date gettStaTm() 
    {
        return tStaTm;
    }
    public void settEndTm(Date tEndTm) 
    {
        this.tEndTm = tEndTm;
    }

    public Date gettEndTm() 
    {
        return tEndTm;
    }

    public String getcTxt() {
        return cTxt;
    }

    public void setcTxt(String cTxt) {
        this.cTxt = cTxt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cTaskNo", getcTaskNo())
            .append("cTaskNme", getcTaskNme())
            .append("cProNo", getcProNo())
            .append("cDemFlawNo", getcDemFlawNo())
            .append("cTaskDes", getcTaskDes())
            .append("cTaskPri", getcTaskPri())
            .append("cTaskState", getcTaskState())
            .append("cCrePer", getcCrePer())
            .append("tCreTm", gettCreTm())
            .append("cUpdPer", getcUpdPer())
            .append("tUpdTm", gettUpdTm())
            .append("cTaskSou", getcTaskSou())
            .append("cTaskType", getcTaskType())
            .append("cTaskHead", getcTaskHead())
            .append("cTaskPer", getcTaskPer())
            .append("cEstWork", getcEstWork())
            .append("cRegWork", getcRegWork())
            .append("cRemWork", getcRemWork())
            .append("cWork", getcWork())
            .append("tStaTm", gettStaTm())
            .append("tEndTm", gettEndTm())
            .toString();
    }
}
